package com.zjhn.ds.domain.dto.mt;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @BelongsProject: ds_jlw
 * @BelongsPackage: com.zjhn.ds.domain.dto.pad
 * @Author: sxt
 * @CreateTime: 2023-09-21  08:46
 * @Description:
 * @Version: 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserInfoDto {

    @ApiModelProperty("挡车工id，车间主任为空")
    @JsonProperty("spinner_id")
    private String spinnerId;

    @ApiModelProperty("车间id")
    @JsonProperty("workshop_id")
    private String workshopId;

    @ApiModelProperty("车间")
    private String workshop;

    @ApiModelProperty("用户类别  0-非挡车工和车间主任，1-挡车工，2-车间主任")
    private Integer type;

    @ApiModelProperty("员工id")
    @JsonProperty("operate_id")
    private String operateId;

    @ApiModelProperty("员工用户名")
    private String username;

    @ApiModelProperty("员工编号")
    @JsonProperty("user_no")
    private String userNo;

    @ApiModelProperty("员工姓名")
    @JsonProperty("real_name")
    private String realName;

    @ApiModelProperty("部门id")
    @JsonProperty("department_id")
    private String departmentId;

    @ApiModelProperty("部门")
    private String department;

    @ApiModelProperty("头像")
    private String image;

}
